Step 1: Installing Compose in the cluster
This topic describes how to install Compose in a high availability cluster environment.
Preparation
-
Allocate two shared folders for Compose: one for the Compose server and the other for the Compose agent
The setup instructions below assume that the Compose data folder is F:\server-data and the Compose Agent data folder is F:\agent-data.
-
Generate a 32 character random master key by running the following command from <PRODUCT_DIR>\bin:
ComposeCtl.exe utils genpassword
The setup instructions below assume that your key is
WdAHWEwXSvwxDFetcl7TVVFfSXPbMrFx
Primary node setup
- Install Compose.
- Stop the Compose service.
-
Edit the service executable path as follows:
SC CONFIG ComposebinPath="<PRODUCT_DIR>\bin\ComposeCtl.exe -d F:\server-data service run”
-
Run the following command from <PRODUCT_DIR>\bin:
ComposeCtl.exe -d "F:\server-data" setup install
-
Run the following command from <PRODUCT_DIR>\bin:
ComposeCtl.exe -d "F:\server-data" masterukey set -p WdAHWEwXSvwxDFetcl7TVVFfSXPbMrFx
-
Edit <PRODUCT_DIR>\java\bin\acjs.bat and immediately below the line with SET JAVA_LIB_PATH, add the following:
set AT_DATA=-d F:\agent-data
-
Start the Compose service and then stop it. This will create the java repository.
Information noteThis step should be performed on the primary node only.
-
Run the following command from <PRODUCT_DIR>\java\bin:
acjs.bat masterukey set WdAHWEwXSvwxDFetcl7TVVFfSXPbMrFx
- In the Cluster Manager, move to the secondary node.
Secondary node setup
Perform steps 1-6 and step 8 (step 7 is not required) of the the Primary node setup steps on the secondary node and then start the Compose service.